﻿using System;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000107 RID: 263
	[Serializable]
	public class MotionBlurModel : PostProcessingModel
	{
		// Token: 0x170000E1 RID: 225
		// (get) Token: 0x06000501 RID: 1281 RVA: 0x00027CC5 File Offset: 0x00025EC5
		// (set) Token: 0x06000502 RID: 1282 RVA: 0x00027CCD File Offset: 0x00025ECD
		public MotionBlurModel.Settings settings
		{
			get
			{
				return this.m_Settings;
			}
			set
			{
				this.m_Settings = value;
			}
		}

		// Token: 0x06000503 RID: 1283 RVA: 0x00027CD6 File Offset: 0x00025ED6
		public override void Reset()
		{
			this.m_Settings = MotionBlurModel.Settings.defaultSettings;
		}

		// Token: 0x04000704 RID: 1796
		[SerializeField]
		private MotionBlurModel.Settings m_Settings = MotionBlurModel.Settings.defaultSettings;

		// Token: 0x02000108 RID: 264
		[Serializable]
		public struct Settings
		{
			// Token: 0x170000E2 RID: 226
			// (get) Token: 0x06000504 RID: 1284 RVA: 0x00027CE4 File Offset: 0x00025EE4
			public static MotionBlurModel.Settings defaultSettings
			{
				get
				{
					return new MotionBlurModel.Settings
					{
						shutterAngle = 270f,
						sampleCount = 10,
						frameBlending = 0f
					};
				}
			}

			// Token: 0x04000705 RID: 1797
			[Range(0f, 360f)]
			[Tooltip("The angle of rotary shutter. Larger values give longer exposure.")]
			public float shutterAngle;

			// Token: 0x04000706 RID: 1798
			[Tooltip("The amount of sample points, which affects quality and performances.")]
			[Range(4f, 32f)]
			public int sampleCount;

			// Token: 0x04000707 RID: 1799
			[Tooltip("The strength of multiple frame blending. The opacity of preceding frames are determined from this coefficient and time differences.")]
			[Range(0f, 1f)]
			public float frameBlending;
		}
	}
}
